package com.app.biz.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.app.biz.DataDictionaryBiz;
import com.app.dao.DataDictionaryDao;
import com.app.entity.DataDictionary;

@Service("dataDictionaryBiz")
public class DataDictionaryBizImpl implements DataDictionaryBiz {

	@Autowired
	private DataDictionaryDao dataDictionaryDao;
	
	public List<DataDictionary> getAll() {
		// TODO Auto-generated method stub
		return dataDictionaryDao.getAll();
	}

	public DataDictionary getByPlatform(int flatformId, int id) {
		// TODO Auto-generated method stub
		return dataDictionaryDao.getByPlatform(flatformId, id);
	}

}
